import React from 'react';
import { Link } from 'react-router-dom';
import styles from './style.module.scss';
import build from 'routes/build';

export default (props) => {
    return (
        <div className={styles.container}>
            <div>TEST</div>
            <div>
                <p><Link to="/test/edit">to edit</Link></p>
                <p><Link to="/test/add">to add</Link></p>
            </div>
            <div>
                {
                    build(props.routes)
                }
            </div>
        </div>
    )
}